package com.googlecode.gunncs.actuator;

import javaclient3.Position2DInterface;

/**
 * 
 * @author ajc
 * 
 */
public class RobotBase {

	// TODO need an IRobotBase?

	private final Position2DInterface p2d;

	public RobotBase(Position2DInterface p2d) {
		this.p2d = p2d;
	}

	/**
	 * 
	 * @param v
	 *            forward velocity [m/s]
	 * @param omega
	 *            turning angle [rad]
	 */
	public void drive(double v, double omega) {
		p2d.setSpeed(v, omega);
	}

}
